package dk.pun.aot.client.view;

import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Widget;

import dk.pun.aot.shared.character.CharacterId;

public interface MainView {

	public enum MainViewTab {
		MODIFY_CHARACTER,
		VIEW_CHARACTER,
		COMBAT
	}
	
	public interface Presenter {
		void onViewCharacter();
		void onSelectCharacter();
		void onSystemMessageUpdated(String message);
		void setTabFocus(MainViewTab tab);
		void setMessage(String messsage);
	}

	void setTabFocus(MainViewTab tab);
	void setSelectedCharacter(CharacterId characterId);
	void setMessage(String messsage);

	void setPresenter(Presenter presenter);
	HasWidgets getCenterPanel();
	Widget asWidget();
}
